package com.aipp.mall.h5.domain.entity;

import com.aipp.mall.common.anno.Note;
import com.aipp.mall.common.model.BaseAudit;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * 订单操作历史记录对象 oms_order_operate_history
 *
 * @author zcc
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("oms_order_operate_history")
public class OrderOperateHistory extends BaseAudit implements Serializable {

    @Serial
    private static final long serialVersionUID = -2850160183971025998L;

    @Note("ID")
    private Long id;

    @Note("订单id")
    private Long orderId;

    @Note("订单号")
    private String orderSn;

    @Note("操作人：用户；系统；后台管理员")
    private String operateMan;

    @Note("订单状态：0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单")
    private Integer orderStatus;

    @Note("备注")
    private String note;

}
